import Vue from 'vue'
import Router from 'vue-router'
import {Loading} from "@/utils/Loading";
import store from "@/store"
import {renbao} from '@/services'

Vue.use(Router)
const loading = Loading.getInstance()

import demo from '@/views/demo/demo'
import mainEntry from '@/views/mainEntry'

export default new Router({
  routes: [
    {
      path: '/',
      redirect: '/mainEntry'
    },
    {
      path: '/demo',
      name : 'demo',
      component: demo
    },
    {
      path: '/mainEntry' ,
      name: 'mainEntry',
      component: mainEntry
    }
  ]
})
